package com.kgc.sbt.domain;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * order_item
 * @author 
 */
@Data
@ApiModel(value = "订单详情实体",description = "每笔订单包括不同的商品详情")
public class OrderItem implements Serializable {
    /**
     * 详情表id
     */
    @ApiModelProperty(name = "id",value = "详情表id",example = "1")
    private Integer id;


    /**
     * 订单编号
     */
    @ApiModelProperty(name = "orderNumber",value = "订单编号",example = "T20210629215421a194b")
    private String orderNumber;

    /**
     * 商品编号
     */
    @ApiModelProperty(name = "goodsId",value = "商品编号",example = "100000")
    private Integer goodsId;

    /**
     * 商品名称
     */
    @ApiModelProperty(name = "goodsName",value = "商品名称",example = "法国Lancome兰蔻净澈焕肤双重精华极光水小样10ml*2瓶")
    private String goodsName;

    /**
     * 购买数量
     */
    @ApiModelProperty(name = "goodsNum",value = "购买数量",example = "2")
    private Integer goodsNum;

    /**
     * 商品主图
     */
    @ApiModelProperty(name = "goodsUrl",value = "商品主图",example = "xxx.jpg")
    private String goodsUrl;

    /**
     * 商品单价
     */
    @ApiModelProperty(name = "goodsPrice",value = "商品单价",example = "19.9")
    private BigDecimal goodsPrice;

    private static final long serialVersionUID = 1L;
}